/*
* @author : TF-BJ-C064
* @creation : 2014-6-20 下午8:21:13
* @description : 
*
*/

package com.action.system;

import java.util.List;

import com.base.BaseAction;
import com.bean.Test;
import com.service.TestService;
import com.util.GUtil;

public class TestAction extends BaseAction {

	TestService 	testService;
	Test 			test;
	List<Object> 	list;
	
	@Override
	public String handle() throws Exception {
		return null;
	}

	@Override
	public String query() throws Exception {
		list = testService.query((Object)test);
		return GUtil.LIST;
	}

	@Override
	public String add() throws Exception {
		return null;
	}

	@Override
	public String update() throws Exception {
		return null;
	}

	@Override
	public String delete() throws Exception {
		return null;
	}

	@Override
	public String view() throws Exception {
		return null;
	}

	@Override
	public boolean validate(Object obj) throws Exception {
		return false;
	}

	/**
	 * @return the testService
	 */
	public TestService getTestService() {
		return testService;
	}

	/**
	 * @param testService the testService to set
	 */
	public void setTestService(TestService testService) {
		this.testService = testService;
	}

	/**
	 * @return the test
	 */
	public Test getTest() {
		return test;
	}

	/**
	 * @param test the test to set
	 */
	public void setTest(Test test) {
		this.test = test;
	}

	/**
	 * @return the list
	 */
	public List<Object> getList() {
		return list;
	}

	/**
	 * @param list the list to set
	 */
	public void setList(List<Object> list) {
		this.list = list;
	}

}
